<?php

function cutEmail($email){
	$str = substr($email, 0, strpos($email, '@')+4);
	return $str . '***';
}

?>